package com.v2.k43;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component  //这里的@Component注解不能去掉，没有则会扫不到test方法返回的对象
public class User {

	@Bean
	public Peoson test11() {
		return new Peoson();
	}

}
